<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html, body {
            min-width: 320px;
            max-width: 540px;
            margin: 0 auto;
            font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
        }

        header {
            height: 120px;
            width: 100%;

        }

        header img {
            width: 100%;
            height: 100%;
        }

        nav {
            border: 1px solid #ccc;
            padding: 4px;

        }

        nav a {
            color: white;
            text-decoration: none;
            text-shadow: 0px 2px 1px rgba(0, 0, 0, .4);
        }

        .row {
            height: 110px;
            display: flex;
            background-color: #FF697A;
            border-radius: 4px;
            margin-bottom: 5px;

        }

        .row div {
            height: 100%;
            flex: 1;
            border-right: 1px solid #ccc;


        }

        .row div em {
            display: block;
            height: 57px;
            line-height: 57px;
            text-align: center;

            font-style: normal;
        }

        .row div i {
            display: block;
            width: 43px;
            height: 43px;
            margin: -5px auto 0;
            background: url("img/ctrip.png") no-repeat 0 -127px;
            background-size: 104px;
        }


        .row div:nth-child(3) {
            border-right: 0;
        }

        .row33 {
            flex-direction: column;

            display: flex;
        }

        .row33 a {
            display: block;
            height: 57px;
            flex: 1;
            text-align: center;
            line-height: 57px;
            border-right: 1px solid #ccc;
            border-bottom: 1px solid #ccc;

        }

        .row33 a:nth-child(2) {
            border-right: 0;
            border-bottom: 0;
        }


    </style>
</head>
<body>
<header>
    <img src="img/banner.jpg" alt="">
</header>
<nav>
    <div class="row">
        <div>
            <a href="">
                <em>酒店</em>
                <i></i>
            </a>
        </div>

        <div class="row33">
            <a href="#">海外酒店</a>
            <a href="#">特价酒店</a>
        </div>
        <div class="row33">
            <a href="#">海外酒店</a>
            <a href="#">特价酒店</a>
        </div>

    </div>
    <div class="row">
        <div>
            <a href="">
                <em>酒店</em>
                <i></i>
            </a>
        </div>

        <div class="row33">
            <a href="#">海外酒店</a>
            <a href="#">特价酒店</a>
        </div>
        <div class="row33">
            <a href="#">海外酒店</a>
            <a href="#">特价酒店</a>
        </div>

    </div>
    <div class="row">
        <div>
            <a href="">
                <em>酒店</em>
                <i></i>
            </a>
        </div>

        <div class="row33">
            <a href="#">海外酒店</a>
            <a href="#">特价酒店</a>
        </div>
        <div class="row33">
            <a href="#">海外酒店</a>
            <a href="#">特价酒店</a>
        </div>

    </div>
    <div class="row">
        <div class="row33">
            <a href="#">海外酒店</a>
            <a href="#">特价酒店</a>
        </div>

        <div class="row33">
            <a href="#">海外酒店</a>
            <a href="#">特价酒店</a>
        </div>
        <div class="row33">
            <a href="#">海外酒店</a>
            <a href="#">特价酒店</a>
        </div>

    </div>

</nav>

</body>
</html>